package com.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the ACTIONHISTORY database table.
 * 
 */
@Entity
@NamedQuery(name="Actionhistory.findAll", query="SELECT a FROM Actionhistory a")
public class Actionhistory implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="ACTIONHISTORY_AID_GENERATOR", sequenceName="SEQ",initialValue=1,allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="ACTIONHISTORY_AID_GENERATOR")
	private String aid;

	private String content;

	private BigDecimal logic;

	@Temporal(TemporalType.DATE)
	@Column(name="\"TIME\"")
	private Date time;

	@Column(name="\"TYPE\"")
	private String type;

	public Actionhistory() {
	}

	public String getAid() {
		return this.aid;
	}

	public void setAid(String aid) {
		this.aid = aid;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public BigDecimal getLogic() {
		return this.logic;
	}

	public void setLogic(BigDecimal logic) {
		this.logic = logic;
	}

	public Date getTime() {
		return this.time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

}